Skip to content
main
Switch branches/tags
jam0001/dyniec/
jam0001/dyniec/

Latest commit

* dyniec: Initial commit

* dyniec: Syntax

* dyniec: partial parser

* dyniec: Somewhat working parser

* dyniec: Whole program parser

* dyniec: Use parser in main

* dyniec: Eval

* dyniec: docs + example
e658d0b

Git stats

Files

Permalink
Failed to load latest commit information.

nocomment

Idea of this language was to annotate expressions with expressions (thus no comments, just expressions). For example

addition = add @ "This function is used to calculate sum of two numbers" @ ((addition 2) 5)

Annotations are right now dropped at runtime, but idea was to provide functions in runtime to instrospect annotations

Installation steps

Install cabal and ghc using ghcup or system provided package manager.

Then execute cabal update, and then you can execute example programs using cabal run dyniec examples/example1.l